import type { RouteRecordRaw } from 'vue-router';
import { outsideLayoutRoutes } from './outsideLayout';

export const basicRoute: RouteRecordRaw = {
  path: '/',
  name: 'Layout',
  redirect: '/dashboard',
  component: () => import('@/layouts-VITE_WDM_THEME/Index'),
  children: [
    {
      path: '/dashboard',
      name: 'dashboard',
      meta: { title: '首页', icon: 'dashboard_1' },
      component: () => import('@/views/dashboard-VITE_WDM_THEME/Index.vue'),
    },
  ],
};

const routes: RouteRecordRaw[] = [...outsideLayoutRoutes];

export { routes };
